package com.woniuxy.amusementparkos.entity.fzw;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
	private int user_id;
	private String account;
	private String username;
	private String password;
	private String salt;
	private int status;
	private List<Role> roles;//一个用户对应多个角色
	private Department department;//用户&部门一对关系
	private Organization organization;//用户&组织一对一关系
	private List<Menu> menus;//用户菜单一对多关系
}
